home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Games / onEscapeeRTG / Install_OnEscapee_Rtg < prev    next >
Encoding:
Text File  |  1998-02-06  |  3.0 KB  |  106 lines

  1. ;---------------------------------------------------------------
  2. ; Script to install onEscapee Rtg Patch 
  3. ; by Ákos Diviánszky / Invictus
  4. ;---------------------------------------------------------------
  5.  
  6. (message "O N E S C A P E E   R T G\nVersion 1.06 (06.feb.98)\n\nThis scripth will install a gfx-card supporting patch for the game 'onEscapee'.\n This will only work with the commercial release, so don't try it with the old demo releases!\nA Spanish translation of the ReadMe file also included in this package.")
  7.  
  8. (if
  9.     (< (getversion) (* 39 65536))
  10.     (message "You need at least KickStart 3.0 to run onEscapee!\nAnyway this patch can be installed now.")
  11. )
  12.  
  13. (if
  14.     (patmatch "68000|68010" (database "cpu"))
  15.     (message "You need at least a Motorola M68020 CPU to run onEscapee!\nMind this after installing this patch!")
  16. )
  17.  
  18. (welcome)
  19.  
  20. (if    (= 2 (exists( "DH0:Games" (noreq)))) 
  21.     (set #pgpath "DH0:Games") 
  22.     (if    (= 2 (exists( "DH1:Games" (noreq)))) 
  23.         (set #pgpath "DH1:Games") 
  24.         (if    (= 2 (exists( "DH2:Games" (noreq)))) 
  25.             (set #pgpath "DH2:Games") 
  26.             (if    (= 2 (exists( "DH3:Games" (noreq)))) 
  27.                 (set #pgpath "DH3:Games") 
  28.                 (if    (= 2 (exists( "Game:" (noreq)))) 
  29.                     (set #pgpath "Game:") 
  30.                     (if    (= 2 (exists( "Games:" (noreq)))) 
  31.                         (set #pgpath "Games:") 
  32.                         (set #pgpath "Games_Collection:")
  33.                     )
  34.                 )
  35.             )
  36.         )
  37.     )
  38. )
  39.  
  40.  
  41.  
  42. (set #OEPath
  43.     (askdir
  44.         (prompt "Choose a directory for the onEscapee starter files.\nNO drawer will be created!")
  45.         (help "It should be beside other game directories eg.: 'Entertain:Games/onEscapee'.\n"
  46.               "If you have copied onEscapee to your harddrive, select the game's root directory.")
  47.         (default #pgpath)
  48.     )
  49. )
  50.  
  51. (set @default-dest #OEPath)
  52.  
  53. (complete 30)
  54.  
  55. (set #spwanted 
  56.     (askbool
  57.         (prompt    "Do you want to copy the Spanish Doc for onEscapee?\n(Spanish version translated by Fernando Brischetto)")
  58.         (help    "You should have this file if you know or want to learn Spanish!")
  59.     )
  60. )
  61.  
  62. (copyfiles (source "onEscapee/Start") (dest #OEPath) (infos) )
  63.  
  64. (copyfiles (source "onEscapee/Game") (dest #OEPath) )
  65.  
  66. (complete 60)
  67.  
  68. (copyfiles (source "onEscapee/EscMode") (dest #OEPath) (infos) )
  69.  
  70.  
  71. (if (= 1 #spwanted) 
  72.     (
  73.         (copyfiles 
  74.         (source "onEscapee/ReadMe") 
  75.         (dest (tackon #OEPath "ReadMe") )
  76.         (all)
  77.         )
  78.         (copyfiles (source "onEscapee/ReadMe.info") (dest #OEPath) )
  79.     )
  80.  
  81.  
  82. (complete 90)
  83.  
  84. (if (= 1 (askbool
  85.      (prompt    "The internal format of the preferences file have been changed since v1.02.\nYou must run the new EscMode program or your current setups will be ignored!\n\nDou you want to set the preferences now?")
  86.           (help    "You should answer 'Yes'.")
  87.      )
  88.     )
  89.     (run (tackon @default-dest "EscMode") )
  90. )
  91.  
  92. (complete 99)
  93.  
  94. (message    "Special Thanks to the people who helped developing & correcting this patch:\n\nPaul Burkey\nLaurent Baroukh\nMarcin Orlowski")
  95.  
  96. (complete 100)
  97.  
  98. (exit    (cat     "All the files have been copied to the location \""
  99.         #OEPath
  100.         "\"\n\nIf you want play onEscapee, just click on the icon\n\""
  101.         (tackon #OEPath "Start")
  102.         "\"\n\n Have Fun!"
  103.     )
  104. )
  105.